package cn.xuewei.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class CommentVO {
    private Long id;

    private Long userId;

    private Long pid;

    private String content;

    private List<CommentVO> children;

    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String nickname;

    private String userImgUrl;

}
